package com.dowson.bean;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Author Zoe
 * @Date: 2020/11/24
 * @Description
 */
@Component
public class Dog {
    @Value("${dog.name}")
    private String name;

    @Override
    public String toString() {
        return "Dog{" +
            "name='" + name + '\'' +
            '}';
    }
}
